﻿//-----------------------------------------------------------------------------------------
// <copyright file="Status.cs" company="Jakub Florczyk (www.jakubflorczyk.pl)">
//      Copyright © 2009 Jakub Florczyk (www.jakubflorczyk.pl)
//      http://flakernet.codeplex.com
// </copyright>
//-----------------------------------------------------------------------------------------

namespace FlakerNET
{
    using FlakerNET.Converters;
    using Newtonsoft.Json;

    /// <summary>
    /// Definicja statusu.
    /// </summary>
    public class Status
    {
        /// <summary>
        /// Kod statusu.
        /// </summary>
        /// <remarks>200 - operacja wykonana poprawnie</remarks>
        [JsonProperty("code")]
        [JsonConverter(typeof(Int32Converter))]
        public int Code { get; set; }

        /// <summary>
        /// Tekst statusu.
        /// </summary>
        [JsonProperty("text")]
        public string Text { get; set; }

        /// <summary>
        /// Info statusu.
        /// </summary>
        [JsonProperty("info")]
        public string Info { get; set; }
    }
}
